using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

/// <summary>
/// 漫反射设置
/// </summary>
public class DrotReflectionConditionsSettingsPanel : MonoBehaviour
{
    public struct DrotReflectionConditionsData
    {
        public float wallTemperature;
        public float reflectionRatio;
    }

    
    [SerializeField] private InputField  wallTemperature_Input; //壁面温度
    [SerializeField] private InputField reflectionRatio_Input; //反射比例

    
    /// <summary>
    /// 漫反射数据
    /// </summary>
    public DrotReflectionConditionsData drcData;

    public void GetDrotReflectiongConditionData()
    {
        drcData.wallTemperature =float.Parse(wallTemperature_Input.text) ;
        drcData.reflectionRatio = float.Parse(reflectionRatio_Input.text);
    }
}
